package com.yykj.user.center.server.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/16 22:30
 */
@Data
public class UpdateGroupForm {

    @NotBlank(message = "请传入分组Id")
    private String id;

    @NotBlank(message = "请填写分组或标签名称")
    private String name;

    @NotBlank(message = "请传入医生Id")
    private String doctorId;

    @NotNull(message = "请传入医院Id")
    private Integer hospitalId;

}
